using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace Three.BookStore.ProductionSystem.ShiftManagement.Dtos
{
    public class HolidaySettingDto : EntityDto<int>
    {
        /// <summary>
        /// 日期
        /// </summary>
        public DateTime HolidayDate { get; set; }

        /// <summary>
        /// 类型：0-假日，1-班（工作日）
        /// </summary>
        public int HolidayType { get; set; }
    }

    public class CreateOrUpdateHolidaySettingDto
    {
        public int? Id { get; set; }

        [Required]
        public DateTime HolidayDate { get; set; }

        [Required]
        public int HolidayType { get; set; }
    }
} 